package com.lexue.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * TeacherInfo entity. @author MyEclipse Persistence Tools
 */

public class TeacherInfo implements java.io.Serializable {

	// Fields

	private Integer teacherId;
	private Area area;
	private SysUser sysUser;
	private City city;
	private String teacherName;
	private String cardType;
	private String cardNumber;
	private String sex;
	private String school;
	private String image;
	private Set subjects = new HashSet(0);
	private Set messages = new HashSet(0);

	// Constructors

	/** default constructor */
	public TeacherInfo() {
	}
	
	public void test(){
		System.out.println("teacherInfo is obtained'");
	}

	/** full constructor */
	public TeacherInfo(Area area, SysUser sysUser, City city,
			String teacherName, String cardType, String cardNumber, String sex,
			String school, Set subjects, Set messages,String image) {
		this.area = area;
		this.sysUser = sysUser;
		this.city = city;
		this.teacherName = teacherName;
		this.cardType = cardType;
		this.cardNumber = cardNumber;
		this.sex = sex;
		this.school = school;
		this.subjects = subjects;
		this.messages = messages;
		this.image=image;
	}

	// Property accessors

	public Integer getTeacherId() {
		return this.teacherId;
	}

	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}

	public Area getArea() {
		return this.area;
	}

	public void setArea(Area area) {
		this.area = area;
	}

	public SysUser getSysUser() {
		return this.sysUser;
	}

	public void setSysUser(SysUser sysUser) {
		this.sysUser = sysUser;
	}

	public City getCity() {
		return this.city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	public String getTeacherName() {
		return this.teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public String getCardType() {
		return this.cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

	public String getCardNumber() {
		return this.cardNumber;
	}

	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getSchool() {
		return this.school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public Set getSubjects() {
		return this.subjects;
	}

	public void setSubjects(Set subjects) {
		this.subjects = subjects;
	}

	public Set getMessages() {
		return this.messages;
	}

	public void setMessages(Set messages) {
		this.messages = messages;
	}
	
	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

}